package cn.iocoder.yudao.module.wine.controller.app.supplycount.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 酒类行情日K新增/修改 Request VO")
@Data
public class AppSupplyCountSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "6137")
    private Long id;

    @Schema(description = "统计配置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "16362")
    @NotNull(message = "统计配置ID不能为空")
    private Long configId;

    @Schema(description = "简短标题")
    private String infoTitle;

    @Schema(description = "开盘价", example = "16619")
    private BigDecimal firstPrice;

    @Schema(description = "最高价", example = "19796")
    private BigDecimal maxPrice;

    @Schema(description = "最低价", example = "6480")
    private BigDecimal minPrice;

    @Schema(description = "收盘价", example = "9546")
    private BigDecimal lastPrice;

    @Schema(description = "统计时间")
    private LocalDateTime countTime;

}
